﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>积分规则 - 模切材料小管家</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            /* TDesign 工业品色彩系统 */
            --primary-color: #0052d9;
            --primary-light: #266fe8;
            --primary-dark: #003cab;
            --secondary-color: #f2f3ff;
            --accent-color: #e37318;
            --success-color: #00a870;
            --warning-color: #ed7b2f;
            --error-color: #d54941;
            
            /* 背景色系 */
            --bg-color-page: #f5f7fa;
            --bg-color-container: #ffffff;
            --bg-color-secondray: #f8f9fc;
            
            /* 边框和分割线 */
            --border-color: #e7e7e7;
            --border-color-light: #f0f0f0;
            --border-radius-small: 3px;
            --border-radius-medium: 6px;
            --border-radius-large: 9px;
            
            /* 文字色彩 */
            --text-primary: #1a1a1a;
            --text-secondary: #4e5969;
            --text-placeholder: #86909c;
            --text-disabled: #c9cdd4;
            
            /* 阴影系统 */
            --shadow-1: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-2: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
            --shadow-3: 0 4px 8px 0 rgba(0, 0, 0, 0.12);
            
            /* 间距系统 */
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-5: 20px;
            --space-6: 24px;
            --space-8: 32px;
            --space-10: 40px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }
        
        body {
            background-color: var(--bg-color-page);
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.5;
            padding-bottom: 64px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        .container {
            max-width: 480px;
            margin: 0 auto;
            background: var(--bg-color-container);
            min-height: 100vh;
            box-shadow: var(--shadow-1);
            position: relative;
            overflow-x: hidden;
        }
        
        /* 头部样式 */
        .header {
            background: var(--primary-color);
            color: white;
            padding: var(--space-4);
            position: relative;
            z-index: 10;
        }
        
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .back-btn {
            font-size: 18px;
            cursor: pointer;
            opacity: 0.9;
            transition: opacity 0.2s ease;
        }
        
        .back-btn:hover {
            opacity: 1;
        }
        
        .page-title {
            font-weight: 500;
            font-size: 16px;
        }
        
        /* 主要内容区域 */
        .main-content {
            padding: var(--space-4);
        }
        
        /* 积分商城提示 */
        .shop-tip {
            background: linear-gradient(135deg, var(--accent-color), #ff8c00);
            color: white;
            padding: var(--space-4);
            border-radius: var(--border-radius-medium);
            text-align: center;
            margin-bottom: var(--space-4);
        }
        
        .shop-tip h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: var(--space-2);
        }
        
        .shop-tip p {
            font-size: 14px;
            opacity: 0.9;
            margin-bottom: var(--space-3);
        }
        
        .shop-btn {
            background: white;
            color: var(--accent-color);
            padding: var(--space-2) var(--space-4);
            border-radius: var(--border-radius-medium);
            border: none;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .shop-btn:hover {
            background: var(--bg-color-secondray);
        }
        
        /* 规则卡片 */
        .section {
            background: var(--bg-color-container);
            border-radius: var(--border-radius-medium);
            margin-bottom: var(--space-4);
            box-shadow: var(--shadow-1);
            border: 1px solid var(--border-color-light);
            overflow: hidden;
        }
        
        .section-header {
            padding: var(--space-4);
            background: var(--bg-color-secondray);
            border-bottom: 1px solid var(--border-color-light);
        }
        
        .section-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            margin-right: var(--space-2);
            color: var(--primary-color);
            font-size: 16px;
        }
        
        .section-content {
            padding: var(--space-4);
        }
        
        /* 积分获得规则 */
        .earn-rules {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .earn-rule {
            padding: var(--space-4) 0;
            border-bottom: 1px solid var(--border-color-light);
        }
        
        .earn-rule:last-child {
            border-bottom: none;
        }
        
        .rule-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-2);
        }
        
        .rule-info {
            display: flex;
            align-items: center;
            gap: var(--space-3);
        }
        
        .rule-icon {
            width: 40px;
            height: 40px;
            border-radius: var(--border-radius-small);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: white;
        }
        
        .icon-invite {
            background: var(--accent-color);
        }
        
        .icon-verify {
            background: var(--warning-color);
        }
        
        .icon-checkin {
            background: var(--success-color);
        }
        
        .icon-upload {
            background: var(--primary-color);
        }
        
        .icon-member {
            background: linear-gradient(135deg, #ffd700, #ffb347);
        }
        
        .rule-title {
            font-size: 15px;
            color: var(--text-primary);
            font-weight: 600;
        }
        
        .rule-points {
            font-size: 16px;
            font-weight: 700;
            color: var(--accent-color);
        }
        
        .rule-desc {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
        }
        
        .rule-note {
            font-size: 12px;
            color: var(--text-placeholder);
            margin-top: var(--space-1);
        }
        
        /* 会员等级 */
        .level-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .level-item {
            display: flex;
            align-items: center;
            padding: var(--space-4) 0;
            border-bottom: 1px solid var(--border-color-light);
        }
        
        .level-item:last-child {
            border-bottom: none;
        }
        
        .level-badge {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
            color: white;
            margin-right: var(--space-4);
        }
        
        .level-bronze {
            background: linear-gradient(135deg, #cd7f32, #b8860b);
        }
        
        .level-silver {
            background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
        }
        
        .level-gold {
            background: linear-gradient(135deg, #ffd700, #ffb347);
        }
        
        .level-platinum {
            background: linear-gradient(135deg, #e5e4e2, #d3d3d3);
        }
        
        .level-diamond {
            background: linear-gradient(135deg, #b9f2ff, #87ceeb);
        }
        
        .level-black {
            background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
        }
        
        .level-info {
            flex: 1;
        }
        
        .level-name {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: var(--space-1);
        }
        
        .level-requirement {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: var(--space-1);
        }
        
        .level-benefits {
            font-size: 13px;
            color: var(--success-color);
            font-weight: 500;
        }
        
        /* 会员权益说明 */
        .benefits-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--space-4);
        }
        
        .benefit-category {
            margin-bottom: var(--space-4);
        }
        
        .category-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: var(--space-3);
            padding-left: var(--space-2);
            border-left: 3px solid var(--primary-color);
        }
        
        .benefit-items {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--space-3);
        }
        
        .benefit-card {
            background: var(--bg-color-secondray);
            border-radius: var(--border-radius-medium);
            padding: var(--space-4);
            border: 1px solid var(--border-color-light);
        }
        
        .benefit-header {
            display: flex;
            align-items: center;
            margin-bottom: var(--space-2);
        }
        
        .benefit-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--success-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: white;
            margin-right: var(--space-3);
        }
        
        .benefit-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .benefit-desc {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
        }
        
        .benefit-highlight {
            color: var(--primary-color);
            font-weight: 500;
        }
        
        /* 底部导航 */
        .tabbar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-color-container);
            border-top: 1px solid var(--border-color);
            display: flex;
            z-index: 100;
            max-width: 480px;
            margin: 0 auto;
            height: 64px;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: var(--space-2) 0;
            cursor: pointer;
            transition: color 0.2s ease;
            color: var(--text-placeholder);
        }
        
        .tab-item.active {
            color: var(--primary-color);
        }
        
        .tab-item:hover {
            color: var(--primary-light);
        }
        
        .tab-item i {
            font-size: 18px;
            margin-bottom: var(--space-1);
        }
        
        .tab-item span {
            font-size: 10px;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 头部区域 -->
        <div class="header">
            <div class="top-bar">
                <div class="back-btn" onclick="history.back()">
                    <i class="fas fa-arrow-left"></i>
                </div>
                <div class="page-title">积分规则</div>
            </div>
        </div>
        
        <!-- 主要内容区域 -->
        <div class="main-content">
            <!-- 积分商城提示 -->
            <div class="shop-tip">
                <h3>积分商城兑换精美礼品</h3>
                <p>办公用品、健康食品、培训活动等丰富商品等你来兑换</p>
                <button class="shop-btn" onclick="location.href='prizes.html'">
                    立即兑换
                </button>
            </div>
            
            <!-- 积分获取途径 -->
            <div class="section">
                <div class="section-header">
                    <div class="section-title">
                        <i class="fas fa-coins"></i>
                        积分获取途径
                    </div>
                </div>
                <div class="section-content">
                    <ul class="earn-rules">
                        <li class="earn-rule">
                            <div class="rule-header">
                                <div class="rule-info">
                                    <div class="rule-icon icon-invite">
                                        <i class="fas fa-user-plus"></i>
                                    </div>
                                    <div class="rule-title">推荐有礼</div>
                                </div>
                                <div class="rule-points">+100分/人</div>
                            </div>
                            <div class="rule-desc">成功推荐1人注册并完成小程序个人或企业认证，推荐人可获得100积分/人</div>
                        </li>
                        
                        <li class="earn-rule">
                            <div class="rule-header">
                                <div class="rule-info">
                                    <div class="rule-icon icon-verify">
                                        <i class="fas fa-shield-alt"></i>
                                    </div>
                                    <div class="rule-title">身份认证</div>
                                </div>
                                <div class="rule-points">+50/500分</div>
                            </div>
                            <div class="rule-desc">完成小程序个人认证，可获得50积分，每个手机号限1次<br>完成小程序企业认证，可获得500积分，每个手机号限1次</div>
                        </li>
                        
                        <li class="earn-rule">
                            <div class="rule-header">
                                <div class="rule-info">
                                    <div class="rule-icon icon-checkin">
                                        <i class="fas fa-calendar-check"></i>
                                    </div>
                                    <div class="rule-title">每日签到</div>
                                </div>
                                <div class="rule-points">+10分/次</div>
                            </div>
                            <div class="rule-desc">每日登录小程序完成签到，可获得10积分</div>
                            <div class="rule-note">每日限1次</div>
                        </li>
                        
                        <li class="earn-rule">
                            <div class="rule-header">
                                <div class="rule-info">
                                    <div class="rule-icon icon-upload">
                                        <i class="fas fa-upload"></i>
                                    </div>
                                    <div class="rule-title">产品信息上传</div>
                                </div>
                                <div class="rule-points">+50分/条</div>
                            </div>
                            <div class="rule-desc">在发布入口上传1条信息，可获得50积分/条，上传数量不限</div>
                        </li>
                        
                        <li class="earn-rule">
                            <div class="rule-header">
                                <div class="rule-info">
                                    <div class="rule-icon icon-member">
                                        <i class="fas fa-crown"></i>
                                    </div>
                                    <div class="rule-title">注册付费会员</div>
                                </div>
                                <div class="rule-points">1.5倍积分</div>
                            </div>
                            <div class="rule-desc">注册365元/年的付费会员，享发布权限，享1.5倍积分(仅限付费手机号)</div>
                        </li>
                    </ul>
                </div>
            </div>
            
            <!-- 会员权益与积分使用 -->
            <div class="section">
                <div class="section-header">
                    <div class="section-title">
                        <i class="fas fa-crown"></i>
                        会员权益与积分使用
                    </div>
                </div>
                <div class="section-content">
                    <div class="benefits-grid">
                        <!-- 注册普通会员和付费会员 -->
                        <div class="benefit-category">
                            <div class="category-title">注册普通会员和付费会员</div>
                            <div class="benefit-items">
                                <div class="benefit-card">
                                    <div class="benefit-header">
                                        <div class="benefit-icon">
                                            <i class="fas fa-user"></i>
                                        </div>
                                        <div class="benefit-title">普通会员</div>
                                    </div>
                                    <div class="benefit-desc">注册普通会员，享有阅读权限</div>
                                </div>
                                
                                <div class="benefit-card">
                                    <div class="benefit-header">
                                        <div class="benefit-icon">
                                            <i class="fas fa-crown"></i>
                                        </div>
                                        <div class="benefit-title">付费会员</div>
                                    </div>
                                    <div class="benefit-desc">
                                        注册付费会员，享有阅读权限、发布权限，能够选择定制服务。<br>
                                        <strong>定制服务包括但不限于：</strong><br>
                                        1、拼团、组团团购；<br>
                                        2、组织工艺设计、生产技术交流指导；<br>
                                        3、法律、财务规划指导；<br>
                                        4、客户对接；<br>
                                        5、公司转让、并购对接。
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 积分商城兑换 -->
                        <div class="benefit-category">
                            <div class="category-title">积分商城兑换</div>
                            <div class="benefit-items">
                                <div class="benefit-card">
                                    <div class="benefit-header">
                                        <div class="benefit-icon">
                                            <i class="fas fa-shopping-cart"></i>
                                        </div>
                                        <div class="benefit-title">积分商城</div>
                                    </div>
                                    <div class="benefit-desc">
                                        会员可在积分商城使用累计积分兑换商品或服务，兑换品类包括但不限于：<br>
                                        • 办公用品<br>
                                        • 健康食品<br>
                                        • 培训活动<br>
                                        • 团建活动
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 底部导航 -->
        <div class="tabbar">
            <div class="tab-item" onclick="location.href='home.html'">
                <i class="fas fa-home"></i>
                <span>首页</span>
            </div>
            <div class="tab-item" onclick="location.href='demand-list.html'">
                <i class="fas fa-search"></i>
                <span>求购</span>
            </div>
            <div class="tab-item" onclick="location.href='publish-select.html'">
                <i class="fas fa-plus-circle"></i>
                <span>发布</span>
            </div>
            <div class="tab-item" onclick="location.href='consultation.html'">
                <i class="fas fa-comments"></i>
                <span>客服</span>
            </div>
            <div class="tab-item" onclick="location.href='profile.html'">
                <i class="fas fa-user"></i>
                <span>我的</span>
            </div>
        </div>
    </div>
    
    <script>
        // 页面加载完成后初始化
        document.addEventListener('DOMContentLoaded', function() {
            console.log('积分规则页面初始化完成');
        });
    </script>
</body>
</html>